package cn.lili.modules.member.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("li_red_pack_user")
@ApiModel(value = "用户红包数据")
public class RedPackUser extends BaseStandardEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "红包总数")
    private Integer redPackCount;

    @ApiModelProperty(value = "红包状态：0禁用、1可用")
    private Integer status;

    @ApiModelProperty(value = "最后一次任务时间")
    private Date lastTaskTime;

    @ApiModelProperty(value = "是否svip用户：0否、1是")
    private Integer isVip;

    @ApiModelProperty(value = "是否完成实名认证：0否、1是")
    private Integer isCertification;

    @ApiModelProperty(value = "飞语用户ID")
    private String fyUserId;
}
